package com.bootdo.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.system.dao.LunbotuDao;
import com.bootdo.system.domain.LunbotuDO;
import com.bootdo.system.service.LunbotuService;



@Service
public class LunbotuServiceImpl implements LunbotuService {
	@Autowired
	private LunbotuDao lunbotuDao;
	
	@Override
	public LunbotuDO get(Integer id){
		return lunbotuDao.get(id);
	}
	
	@Override
	public List<LunbotuDO> list(Map<String, Object> map){
		return lunbotuDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return lunbotuDao.count(map);
	}
	
	@Override
	public int save(LunbotuDO lunbotu){
		return lunbotuDao.save(lunbotu);
	}
	
	@Override
	public int update(LunbotuDO lunbotu){
		return lunbotuDao.update(lunbotu);
	}
	
	@Override
	public int remove(Integer id){
		return lunbotuDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return lunbotuDao.batchRemove(ids);
	}
	
}
